package com.lightkits.wms.domain.purchasereceive.service;

import com.lightkits.common.db.entity.ScmPoHeader;
import com.lightkits.common.db.entity.ScmPoLine;
import com.lightkits.framework.common.model.CheckResult;
import com.lightkits.wms.dto.deliveryticket.models.TicketHeadDTO;
import com.lightkits.wms.dto.deliveryticket.models.TicketLineDTO;
import com.lightkits.wms.dto.purchasereceive.models.SavePoParamsDTO;

/**
 * CreatePoParamsDomain
 *
 * @author jing.wei@hand-china.com
 * Created on 2019/4/27 13:52
 */
public interface CreatePoParamsDomain {

    CheckResult<ScmPoHeader> createHead(String poId);

    CheckResult<ScmPoLine> createLines(SavePoParamsDTO dto);

    CheckResult<TicketHeadDTO> createTicketHead(SavePoParamsDTO dto);

    CheckResult<TicketLineDTO> createTicketLine(SavePoParamsDTO dto);
}
